package com.dev.op.mapper;

import com.dev.op.entity.ProblemTag;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.dev.op.entity.Tag;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author Administrator
* @description 针对表【problem_tag】的数据库操作Mapper
* @createDate 2025-03-29 22:40:33
* @Entity com.dev.op.ProblemTag
*/
public interface ProblemTagMapper extends BaseMapper<ProblemTag> {

    List<Tag> selectTagsByProblemId(String problemId);

    void saveBatchPlus(@Param("tags") List<ProblemTag> tags);

}




